var permissionTableVue = new Vue({
    el: "#permissionTable",
    data: {
        permissions: ""
    },
    methods: {
        loadData: function () {
            _this = this;
            $.ajax({
                url: "/permission/queryAllPermission",
                type: "get",
                dataType: 'json',
                data: {
                    page: 1,
                    limit: 10
                },
                success: function (data) {
                    _this.permissions = data.data;
                }
            })
        },
        modify:function (id) {
            _this = this;
            $.ajax({
                url: "/permission/queryAllPermission",
                type: "get",
                dataType: 'json',
                data: {
                    page: 1,
                    limit: 10
                },
                success: function (data) {
                    _this.permissions = data.data;
                }
            })
        }
    },
    mounted: function () {
        _this = this;
        _this.loadData()
    }
})